package com.zyg.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data

@Builder
@TableName("sys_dept")
@NoArgsConstructor
@AllArgsConstructor
public class Dept {

    @TableId(type = IdType.AUTO)
    private Integer deptId;
    private String deptName;

    public Integer getId() {
        return deptId;
    }
}
